<template>
  <default-layout>
    <header-close title="详情" slot="header"></header-close>
    <div slot="main">
      <detail-party v-if="busiType === '3'"></detail-party>
      <detail-apply v-if="busiType === '4'"></detail-apply>
      <detail-borrow v-if="busiType === '6'"></detail-borrow>
      <detail-title v-if="busiType === '11'"></detail-title>
      <detail-edu v-if="busiType === '18'"></detail-edu>
      <detail-certify v-if="busiType === '17'"></detail-certify>
      <detail-continue-edu v-if="busiType === '19'"></detail-continue-edu>
    </div>
  </default-layout>
</template>

<script>
  import DefaultLayout from '../../../layouts/default-layout/default-layout'
  import HeaderClose from '../../../components/header-close/header-close'
  import DetailParty from './detail-party'
  import DetailApply from './detail-apply'
  import DetailBorrow from './detail-borrow'
  import DetailTitle from './detail-title'
  import DetailEdu from './detail-edu'
  import DetailCertify from './detail-certify'
  import DetailContinueEdu from './detail-continue-edu'
  export default {
    name: 'my-apply-detail',
    components: {
      DetailContinueEdu,
      DetailCertify,
      DetailEdu,
      DetailTitle,
      DetailBorrow,
      DetailApply,
      DetailParty,
      HeaderClose,
      DefaultLayout},
    data() {
      return {
        /*
          * busiType: 业务类型
          * 党员活动报名(录入后就完成，无后续动作) 2
          * 党组织关系转入(录入后就完成，无后续动作) 3
          * 申请商调函（审核通过后，下载商调函） 4
          * 档案转出（材料预审相同） 5
          * 档案借出（查询该功能对应的状态查询） 6
          * 开具证明（材料预审相同） 8
          * 省医疗保险办理 10
          * 职称申报（有审核状态，后续没有动作） 11
          * 户籍关系转入 12
          * 市养老、医疗保险办理 13
          * 养老缴费基数变更(无后续动作) 14
          * 户籍关系转出 15
          * 办理合格证明 17
          * 继续教育报名 18
          * */
        busiType: String(this.$route.query.busiType)
      }
    }
  }
</script>

<style scoped lang="scss">
</style>
